package user

import (
	"github.com/APP/internal/handler"
	"github.com/gin-gonic/gin"
)

// internal/handler/user/router.go

func RegisterUserRoutes(group *gin.RouterGroup) {
	user := group.Group("/user")
	{
		user.GET("/info", handler.NewAuthHandler().GetUserInfo)
		user.POST("/change-password", handler.NewAuthHandler().ChangePassword)
		user.POST("/logout", handler.NewAuthHandler().Logout)
	}
}
